package chapter9;

public class Rectangle extends Shape {
    @Override
    public void draw(Canvas canvas) {
        System.out.println("在画布:" + canvas + "上画一个矩形");
    }
}
